package com.huo.task.entity;

import java.util.Date;

public class TaskLog {
    /**
     * null
     */
    private Long id;

    /**
     * null
     */
    private String classname;

    /**
     * null
     */
    private String methodname;

    /**
     * null
     */
    private String remark;

    /**
     * null
     */
    private Integer tasktype;

    /**
     * null
     */
    private Date operatetime;

    private String operatetimeStr;

    /**
     * null
     */
    private String detailremark;

    /**
     * null
     * @return id null
     */
    public Long getId() {
        return id;
    }

    /**
     * null
     * @param id null
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * null
     * @return classname null
     */
    public String getClassname() {
        return classname;
    }

    /**
     * null
     * @param classname null
     */
    public void setClassname(String classname) {
        this.classname = classname == null ? null : classname.trim();
    }

    /**
     * null
     * @return methodname null
     */
    public String getMethodname() {
        return methodname;
    }

    /**
     * null
     * @param methodname null
     */
    public void setMethodname(String methodname) {
        this.methodname = methodname == null ? null : methodname.trim();
    }

    /**
     * null
     * @return remark null
     */
    public String getRemark() {
        return remark;
    }

    /**
     * null
     * @param remark null
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * null
     * @return tasktype null
     */
    public Integer getTasktype() {
        return tasktype;
    }

    /**
     * null
     * @param tasktype null
     */
    public void setTasktype(Integer tasktype) {
        this.tasktype = tasktype;
    }

    /**
     * null
     * @return operatetime null
     */
    public Date getOperatetime() {
        return operatetime;
    }

    /**
     * null
     * @param operatetime null
     */
    public void setOperatetime(Date operatetime) {
        this.operatetime = operatetime;
    }

    /**
     * null
     * @return detailremark null
     */
    public String getDetailremark() {
        return detailremark;
    }

    /**
     * null
     * @param detailremark null
     */
    public void setDetailremark(String detailremark) {
        this.detailremark = detailremark == null ? null : detailremark.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", classname=").append(classname);
        sb.append(", methodname=").append(methodname);
        sb.append(", remark=").append(remark);
        sb.append(", tasktype=").append(tasktype);
        sb.append(", operatetime=").append(operatetime);
        sb.append(", detailremark=").append(detailremark);
        sb.append("]");
        return sb.toString();
    }

    public String getOperatetimeStr() {
        return operatetimeStr;
    }

    public void setOperatetimeStr(String operatetimeStr) {
        this.operatetimeStr = operatetimeStr;
    }
}